bindings: Remove unused member variables
authorBenjamin Otte <otte@redhat.com>
Tue, 31 Jul 2018 05:24:58 +0000 (07:24 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 18 Jun 2019 19:53:48 +0000 (15:53 -0400)
gtk/gtkbindings.c
gtk/gtkbindings.h

index 23ae6e0514008d92039b9ebc2c81ce2ec889a923..3e15fabaa5def03803b88e72be4a18187cfab8b5 100644 (file)
@@ -582,12 +582,8 @@ gtk_binding_set_new (const gchar *set_name)
 
   binding_set = g_new (GtkBindingSet, 1);
   binding_set->set_name = (gchar *) g_intern_string (set_name);
-  binding_set->widget_path_pspecs = NULL;
-  binding_set->widget_class_pspecs = NULL;
-  binding_set->class_branch_pspecs = NULL;
   binding_set->entries = NULL;
   binding_set->current = NULL;
-  binding_set->parsed = FALSE;
 
   binding_set_list = g_slist_prepend (binding_set_list, binding_set);
 
index 67c897acc9e6023d9a97614db59dc386cfebb8be..0a172252d4079d67e30138b9b8a4cff186b473e8 100644 (file)
@@ -47,12 +47,8 @@ typedef struct _GtkBindingArg    GtkBindingArg;
  * GtkBindingSet:
  * @set_name: unique name of this binding set
  * @priority: unused
- * @widget_path_pspecs: unused
- * @widget_class_pspecs: unused
- * @class_branch_pspecs: unused
  * @entries: the key binding entries in this binding set
  * @current: implementation detail
- * @parsed: whether this binding set stems from a CSS file and is reset upon theme changes
  *
  * A binding set maintains a list of activatable key bindings.
  * A single binding set can match multiple types of widgets.
@@ -65,12 +61,8 @@ struct _GtkBindingSet
 {
   gchar           *set_name;
   gint             priority;
-  GSList          *widget_path_pspecs;
-  GSList          *widget_class_pspecs;
-  GSList          *class_branch_pspecs;
   GtkBindingEntry *entries;
   GtkBindingEntry *current;
-  guint            parsed : 1;
 };
 
 /**